import 'package:flutter/material.dart';
import '../model/category_result.dart';

class ChildCategory with ChangeNotifier{

  List<BxMallSubDto> childCategoryList = [];

  getChildCategory(List<BxMallSubDto> list){
    BxMallSubDto allBxMallSubDto = BxMallSubDto();
    allBxMallSubDto.mallSubId='00';
    allBxMallSubDto.mallCategoryId='00';
    allBxMallSubDto.mallSubName='全部';
    allBxMallSubDto.comments ='null';
    childCategoryList =[allBxMallSubDto];
    childCategoryList.addAll(list);
    notifyListeners();
  }
}